﻿using System;

namespace SharpBase
{
    /// <summary>
    /// Defines the interface for which any agent capable of performing BOSS authorization should implement
    /// </summary>
    public interface IBossAuthorizer
    {
        /// <summary>
        /// Returns a BOSS authorization cookie for the specified login and password
        /// </summary>
        /// <param name="loginId">Login Id of the user</param>
        /// <param name="password">Password of the user</param>
        /// <returns>Returns a BOSS authorization cookie for the specified login and password</returns>
        byte[] GetBossAuthCookie(string loginId, string password);
    }
}
